Skip to content

feat(auth): ✨ add in-app account deletion - #782

Merged
LexTruong merged 5 commits into
devfrom
account-deletion
Nov 13, 2026
Merged

LexTruong merged 5 commits into
devfrom
account-deletion

Conversation

@TheAbubakrAbu

Copy link
Copy Markdown
Collaborator

Summary

Apple rejected the iOS app because users can create an account but can't delete it in the app, but this branch adds in-app account deletion.

Just click on the profile menu when logged in and then it will make you sign in again to confirm, then confirm the deletion.

Their account and all of its data are permanently deleted, and they're signed out.

Testing Instructions

  1. Sign in, open the profile menu, and tap Delete Account
  2. Tap Sign In Again and sign in with the same provider
  3. Check that your email is shown, then tap Delete Account
  4. You should see "Your account has been deleted." and be signed out
  5. Sign in again: you should get a fresh account (onboarding shows again, and ratings and preferences are gone)

@TheAbubakrAbu
TheAbubakrAbu requested a balanced review from Copilot October 27, 2026 00:17
@TheAbubakrAbu
TheAbubakrAbu temporarily deployed to staging-782 October 27, 2026 00:17 — with GitHub Actions Inactive

This comment was marked as spam.

@github-actions
github-actions Bot temporarily deployed to staging-782 October 27, 2026 00:17 Inactive
@TheAbubakrAbu
TheAbubakrAbu temporarily deployed to staging-782 October 27, 2026 02:58 — with GitHub Actions Inactive
@github-actions
github-actions Bot temporarily deployed to staging-782 October 27, 2026 02:58 Inactive

@LexTruong LexTruong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Abu, thanks for getting on this issue.

  1. Would it be possible to not require the second sign-in to delete the account? I think a second warning saying something like "Are you sure?" would be enough.
  2. Could we also make the delete account page into a drawer/dialog? I think the page is a little too much.

@LexTruong

Copy link
Copy Markdown
Collaborator

Also you have merge conflicts FYI

@TheAbubakrAbu
TheAbubakrAbu temporarily deployed to staging-782 November 8, 2026 03:54 — with GitHub Actions Inactive
@github-actions
github-actions Bot temporarily deployed to staging-782 November 8, 2026 03:54 Inactive

@LexTruong LexTruong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the modal change! I have one nitpick: could we replace the alert after an account is deleted with a snackbar? Just to be more consistent with the rest of the app.

@TheAbubakrAbu
TheAbubakrAbu temporarily deployed to staging-782 November 13, 2026 21:42 — with GitHub Actions Inactive
@github-actions
github-actions Bot temporarily deployed to staging-782 November 13, 2026 21:43 Inactive

@LexTruong LexTruong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb!

@LexTruong
LexTruong merged commit e1ad692 into dev Nov 13, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
staging-782 — d5c20e80 Deployed Nov 13, 2026 by LexTruong via destroy #105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants